/*
 * @Description: 
 * @Author: Hadlee
 * @Date: 2024-11-10 21:07:06
 */
#ifndef __UART_H__
#define __UART_H__
#include "MyType.h"
#include <stdio.h>

/**************************************************
function:uart init
input: none
return: none
note: note
**************************************************/
void InitUart(void);

/**************************************************
function:send one byte to uart
input: b,need sned one byte
return: None
Note: None
**************************************************/
void UartPutChar(uint8_t d);

/*************************************************
function: send string by uart
input: pd, need send string ptr
return:None
Note: None
*************************************************/
void Prints(uint8_t* pd);

/*************************************************
function: send short int by hex format
input:need send short int
return:None
Note:None
*************************************************/
// void PrintShortIntHex(uint16_t x);

void PrintHex(uint8_t x);

void PrintLongInt(uint32_t x);

#endif
